﻿// MIT License
// 开源地址：https://gitee.com/co1024/AbcMvc
// Copyright (c) 2021-2022 1024
// Abc.Mvc=Furion+EF+SqlSugar+Pear layui admin.

namespace Abc.Application.HtAdminServices;

/// <summary>
/// 开发者服务，方便操作用
/// </summary>
public interface IDeveloperService
{
    /// <summary>
    /// 更新菜单功能权限
    /// </summary>
    /// <returns></returns>
    Task UpdateMenuPermission();

    /// <summary>
    /// 删除数据库所有菜单
    /// </summary>
    /// <returns></returns>
    Task DeleteDbAllMenu();

    /// <summary>
    /// RSA 加密解密验证
    /// </summary>
    /// <param name="publicKey">公钥</param>
    /// <param name="privateeKey">私钥</param>
    /// <returns></returns>
    bool RsaVer(string publicKey, string privateeKey);
}